<?php
require_once dirname(__FILE__) . '/ORMBase.class.php';
function classToOrm($class = NULL) {
  $class = strtolower($class);
  switch ($class) {
    case 'pz_ceremony':
      require_once dirname(__FILE__) . '/ORMpz_ceremony.class.php';
      return new ORMpz_ceremony();
    case 'pz_color':
      require_once dirname(__FILE__) . '/ORMpz_color.class.php';
      return new ORMpz_color();
    case 'pz_courier':
      require_once dirname(__FILE__) . '/ORMpz_courier.class.php';
      return new ORMpz_courier();
    case 'pz_culture':
      require_once dirname(__FILE__) . '/ORMpz_culture.class.php';
      return new ORMpz_culture();
    case 'pz_model':
      require_once dirname(__FILE__) . '/ORMpz_model.class.php';
      return new ORMpz_model();
    case 'pz_model_state':
      require_once dirname(__FILE__) . '/ORMpz_model_state.class.php';
      return new ORMpz_model_state();
    case 'pz_model_transition':
      require_once dirname(__FILE__) . '/ORMpz_model_transition.class.php';
      return new ORMpz_model_transition();
    case 'pz_reception':
      require_once dirname(__FILE__) . '/ORMpz_reception.class.php';
      return new ORMpz_reception();
    case 'pz_task':
      require_once dirname(__FILE__) . '/ORMpz_task.class.php';
      return new ORMpz_task();
    case 'pz_task_event':
      require_once dirname(__FILE__) . '/ORMpz_task_event.class.php';
      return new ORMpz_task_event();
    case 'pz_task_note':
      require_once dirname(__FILE__) . '/ORMpz_task_note.class.php';
      return new ORMpz_task_note();
    case 'pz_task_track':
      require_once dirname(__FILE__) . '/ORMpz_task_track.class.php';
      return new ORMpz_task_track();
    case 'pz_user':
      require_once dirname(__FILE__) . '/ORMpz_user.class.php';
      return new ORMpz_user();
    default:
      return NULL;
  }
  return NULL;
}
?>
